package com.gifts.ui.page.selectaProduct;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;

import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;

import com.gifts.ui.page.common.JMainPanel;
/**
 * container class Select A Product panel
 * @author kevin
 *
 */
public class JSelectAProductPanel extends JPanel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private JListInterestsPanel listInterestsPanel;
	
	private JListProductsPanel listProductsPanel;
	
	public JSelectAProductPanel() {
		BorderLayout gridLayout = new BorderLayout();
		setLayout(gridLayout);
		
		listInterestsPanel = new JListInterestsPanel();
		listInterestsPanel.setPreferredSize(new Dimension(800,185));
	
		listProductsPanel = new JListProductsPanel();
		listProductsPanel.setPreferredSize(new Dimension(800,540));
		
		listProductsPanel.revalidate();
		
		add(listInterestsPanel,BorderLayout.NORTH);
		add(listProductsPanel,BorderLayout.CENTER);
		
	}
	
	public JListInterestsPanel getJListInterestsPanel() {
		return listInterestsPanel;
	}
	
	
	public JListProductsPanel getJListProductPanel() {
		return listProductsPanel;
	}
	
	

}
